package com.demo.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 班级-教师关联表实体类
 */
@TableName("clazz_teacher")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class ClazzTeacher implements Serializable {
    
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    
    /**
     * 班级ID
     */
    @TableField("clazz_id")
    private Long clazzId;
    
    /**
     * 教师ID
     */
    @TableField("teacher_id")
    private Long teacherId;
}

